package com.example.demo.consumer;

import com.alibaba.dubbo.config.annotation.Reference;
import com.example.common.my.SayHello;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: zp
 * @date: 2020-09-12 10:23
 */
@Service
public class SayService {
    @Reference
    private SayHello sayHello;

    public String say (String name) {

        return sayHello.sayHello(name);
    }
}
